import ajax from "./ajax";

const base = "user/";

export default {
  selectAll:(params)=>ajax.get(base+"selectAll",{params}),
  updateuserStatus:(data)=>ajax.put(base+"updateKey",data),
  add:(data)=>ajax.post(base+"insert",data),
  updateKey:(data)=>ajax.put(base+"updateKey",data)
}